package com.app.qtjk.lsh.service;
import com.css.sword.kernel.base.annotation.Service;
import com.css.sword.kernel.base.annotation.ServiceContainer;
import com.css.sword.kernel.utils.SwordLogUtils;
import com.css.sword.platform.web.event.IReqData;
import com.css.sword.platform.web.event.IResData;
import com.css.sword.platform.web.event.SwordRes;

@ServiceContainer
public class MainService {

	private static SwordLogUtils log = SwordLogUtils.getLogger(MainService.class);

	public MainService() throws Exception {
		super();
	}


	/**
	 * 跳转到index页面
	 */
	@Service(serviceName = "MainService_gotoIndex")
	public IResData gotoIndex(IReqData req) throws Exception {

		

		log.debug("开始进入 MainService_gotoIndex 方法。");

		//IPersistenceService dao = SwordPersistenceUtils.getPersistenceService();

		//IPageQueryDAO pdao=PageQueryUtils.getPageQueryDAO(); 

		IResData res = new SwordRes();
		res.addPage("pages/htgl/main/index.html");
		return res;

	}

	 		


}